package eoeProject.edenOfEast.bean;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import eoeProject.edenOfEast.dataBase.DB_EOE_ANALYSES_GJ;

public class EOEAnalysesGJBean implements DBBean {

	private Integer gj_id;
	private Integer res_id;
	private Integer user_id;
	private Date create_date;
	private Date update_date;

	private List<String> columnList = new ArrayList<String>();
	private List<String> valueList = new ArrayList<String>();

	public EOEAnalysesGJBean() {
		columnList.add(DB_EOE_ANALYSES_GJ.GJ_ID);
		columnList.add(DB_EOE_ANALYSES_GJ.RES_ID);
		columnList.add(DB_EOE_ANALYSES_GJ.USER_ID);
		columnList.add(DB_EOE_ANALYSES_GJ.CREATE_DATE);
		columnList.add(DB_EOE_ANALYSES_GJ.UPDATE_DATE);
	}

	public List<String> getColumnList() {
		return columnList;
	}

	public void setValueList() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		valueList.add(gj_id.toString());
		valueList.add(res_id.toString());
		valueList.add(user_id.toString());
		valueList.add(sdf.format(create_date));
		valueList.add(sdf.format(update_date));
	}

	public List<String> getValueList() {
		return valueList;
	}

	public Integer getResId() {
		return res_id;
	}

	public void setResId(Integer res_id) {
		this.res_id = res_id;
	}

	public Date getCreateDate() {
		return create_date;
	}

	public void setCreateDate(Date create_date) {
		this.create_date = create_date;
	}

	public Date getUpdateDate() {
		return update_date;
	}

	public void setUpdateDate(Date update_date) {
		this.update_date = update_date;
	}

	public Integer getGJId() {
		return gj_id;
	}

	public void setGJId(Integer gj_id) {
		this.gj_id = gj_id;
	}

	public Integer getUserId() {
		return user_id;
	}

	public void setUserId(Integer user_id) {
		this.user_id = user_id;
	}

}
